/*
 * Copyright (C) 2010 Seapeak.Xu
 *
 * fostmq may be copied only under the terms of the GNU General
 * Public License V3, which may be found in the fostmq source kit.
 *
 * Created on: 2011-5-12
 * Author: Seapeak.Xu
 */

#ifndef FOST_TIMER
#define FOST_TIMER

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdio.h>
#include <stdlib.h>

typedef void (*elapsedhandler)(void *arg);
int timer(int sec,int usec,elapsedhandler event,void *arg);

#ifdef __cplusplus
}	
#endif
#endif


